From: Eli Zaretskii Date: Sun, 7 Apr 2013 16:18:41 +0000 (+0300) Subject: Provide definition of ACL_NOT_WELL_SUPPORTED for MS-Windows. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~3615^2~510 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7d9f6883aad738362a8321955b1c1f76e8f7aea1;p=emacs.git Provide definition of ACL_NOT_WELL_SUPPORTED for MS-Windows. src/fileio.c (ACL_NOT_WELL_SUPPORTED): Define macro for WINDOWSNT. Fixes: debbugs:13702 --- diff --git a/src/ChangeLog b/src/ChangeLog index be654602cc8..cb6930f9acc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-04-07 Eli Zaretskii + + * fileio.c (ACL_NOT_WELL_SUPPORTED): Define macro for WINDOWSNT. + 2013-04-07 Romain Francoise Ignore additional platform-specific ACL errors (Bug#13702). diff --git a/src/fileio.c b/src/fileio.c index 076cdfbc2ff..1049522e5a9 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -92,6 +92,8 @@ along with GNU Emacs. If not, see . */ #elif defined EOPNOTSUPP /* Tru64 NFS */ #define ACL_NOT_WELL_SUPPORTED(Err) \ ((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY || (Err) == EOPNOTSUPP) +#elif defined WINDOWSNT +#define ACL_NOT_WELL_SUPPORTED(Err) ((Err) == ENOTSUP) #else #define ACL_NOT_WELL_SUPPORTED(Err) \ ((Err) == ENOTSUP || (Err) == ENOSYS || (Err) == EINVAL || (Err) == EBUSY)